package entity

import (
	"shqsoft.cn/pasnj/base"
)

// SysUser_Ghr 用户
type SysUser_Ghr struct {
	ID   int    `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	EMID string `gorm:"column:EMID"`
	EMNO string `gorm:"column:EMNO"`
	EMNM string `gorm:"column:EMNM"`
	UTNM string `gorm:"column:UTNM"`
}

// TableName User用户表名
func (SysUser_Ghr) TableName() string {
	return "T_SysUser_Ghr"
}

func SysUser_GhrEF() base.EntityFunc {
	return func() interface{} {
		entity := SysUser_Ghr{}
		return &entity
	}
}
func SysUser_GhrESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []SysUser_Ghr
		return &entities
	}
}

func init() {
	base.DaoPoolObj.Put("SysUser_Ghr", base.NewDefaultDao(SysUser_GhrEF(), SysUser_GhrESF(), nil))
}
